<!DOCTYPE HTML>
<html lang="zh-cn">

	<head>
		<!--<base href="http://test.youxiduo.com/iweb/2017-09-kpl/" />-->
		<base href="http://resource.youxiduo.com/special/shihou/promoter/3405/" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="format-detection" content="telephone=no">
		<meta name="viewport" content="width=device-width,user-scalable=no">
		<title>狮吼签约战队出征进行时</title>
		<meta name="keywords" content="狮吼,狮吼直播,手游直播,双投屏直播" />
		<meta name="description" content="狮吼 - 4亿手游玩家的直播平台、狮吼是游戏多旗下手游直播平台，支持双投屏直播的移动端平台，边玩边播，分享快乐！狮吼直播，随时随地录屏直播，语音弹幕独特玩法，各路主播游戏大神齐聚；电竞赛事、综艺娱乐、户外精彩，一切改变尽在 狮吼- 4亿手游玩家的直播平台。" />
		<link rel="stylesheet" href="static/css/base.css" />
		<link rel="stylesheet" href="static/css/style.css" />

	</head>

	<body>

		<div class="wrap">
			<div class="kpl">
				<img src="static/img/boxImg1.jpg" />
				<img src="static/img/boxImg2.jpg" />
				<div class="boxImg">
					<img src="static/img/boxImg3.jpg" />
					<a class="btn btnShare" title="分享活动"><img src="static/img/btnShare.png" /></a>
				</div>
				<img src="static/img/boxImg4.jpg" />
				<img src="static/img/boxImg5.jpg" />

				<!-- 排行榜 -->
				<div class="phb">
					<div class="phbTitle" ><img src="static/img/titleBg.png" /></div>

					<!-- no login -->
					<div class="loginIn" style="display:none;"><span class="loginCont">请登录后查看个人排行哦<a href="shihoutv://route?jump_type=120">点击登录</a></span></div>

					<!-- login -->
					<div class="loginIn" style="display:none;">
						<span class="pm">
                        <a id="userRank1">MVP榜排名：无</a>
                        <a id="userRank2">铁粉榜排名：无</a>
                    </span>
					</div>

					

					<ul class="phbList" id="phbList">
					</ul>
					<ul class="phbList listNo4" id="phbList4">
					</ul>
					<a class="btnMore" title="查看更多排名"><img src="static/img/btnMore.png" /></a>
				</div>
				<img src="static/img/boxImg6.jpg" />
				<img src="static/img/boxImg7.jpg" />
				<img src="static/img/boxImg8.jpg" />
			</div>
		</div>

		<script src="static/js/jquery-3.1.0.min.js"></script>
		<script src="static/js/rank.js"></script>
		<script language="JavaScript">
			var rank;
			$(function() {
				rank = new Rank();
				var time = 3;
				$(".btnShare").click(function() {
					if(from_user_id == "0") {
						window.location.href = "shihoutv://route?jump_type=120";
						return;
					} else {
						var web_share = {
							"qq": {
								"url": share_url,
								"img": share_icon,
								"title": share_title,
								"subtitle": share_desc
							},
							"wx_person": {
								"url": share_url,
								"img": share_icon,
								"title": share_title,
								"subtitle": share_desc
							},
							"wx_group": {
								"url": share_url,
								"img": share_icon,
								"title": share_title,
								"subtitle": share_desc
							},
							"wb": {
								"url": share_url,
								"img": share_icon,
								"title": share_title,
								"subtitle": share_desc
							}
						};

						if(typeof(window.lion) != "undefined" && typeof(window.lion.web_share) == 'function') {
							window.lion.web_share(JSON.stringify(web_share));
						}
					}
				});
				
				if(from_user_id == 0 || from_user_id == "0"){
					$('.loginIn').eq(0).show();
				}else{
					$('.loginIn').eq(1).show();
				}

				//查看更多排名
				$(".btnMore").on("click", function() {
					$(this).hide();
					$(".listNo4").show();
				});
				rank.setRankList(0, 0);
				rank.setUserRank(0, from_user_id);
				rank.setUserRank(1, from_user_id);
			})
		</script>

	</body>

</html>
